﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using SmartProject.Data;

namespace SmartProject.Logging
{
    public class SeverityLevel : Reference
    {
        public SeverityLevel()
        {
            // Critical: A critical error has occured, resulting in system failure.
            // Error: An error has occured, resulting in the failure of a sub system.
            // Warning: An unexpected result has occured, resulting in the failure of an operation.
            //
            // Info: A message that can either be the confirmation of a successful operation 
            // or other non-error messages.
            //
            // Debug: Message for developers during debugging or development process.
            string[] severityLevels = { "Debug", "Info", "Warning", "Error", "Critical" };
            base.Initialize("SeverityLevel", severityLevels);
        }
    }
}
